<template>
    <div>
        <span>
          <slot v-bind:user="user">
            {{ user.lastName }}
          </slot>
       </span>

    </div>
</template>

<script>
    export default {
        name: "child",
        data(){
            return {
                user:{
                    firstName:'gerace',
                    lastName:'haLi'
                }
            }
        }
    }
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">

</style>